<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    <title>错误页面</title>
    <link href="{{ asset('static/css/bootstrap.min.css') }}" rel="stylesheet">
    <link href="{{ asset('static/css/materialdesignicons.min.css') }}" rel="stylesheet">
    <link href="{{ asset('static/css/style.min.css') }}" rel="stylesheet">
    <style>
        body{
            background-color: #fff;
        }
        .error-page {
            height: 100%;
            position: fixed;
            width: 100%;
        }
        .error-body {
            padding-top: 5%;
        }
        .error-body h1 {
            font-size: 5rem;
            font-weight: 700;
            text-shadow: 4px 4px 0 #f5f6fa, 6px 6px 0 #33cabb;
            line-height: 5rem;
            color: #da6767;
        }
        .error-body h3 {
        	font-size: 2rem;
            margin: 30px 0px;
        }
    </style>
</head>

<body>
<section class="error-page">
    <div class="error-box">
        <div class="error-body text-center">
            <h1>失败：{{$code}}</h1>
            <h3 style="color:red;">{{$message}}</h3>
            <button class="btn btn-w-md btn-round btn-info" onclick="returnIndex()">返回</button>
        </div>
    </div>
</section>
<script>
function returnIndex(){
	location.href = "{{$url}}";
}
</script>
</body>
</html>